package org.mitoma.logger.shared;

import java.io.Serializable;

import javax.persistence.Id;

@SuppressWarnings("serial")
public class User implements Serializable {

  @Id
  private String  id;
  private String  email;
  private String  passwordHash;
  private Boolean preRegistration = true;

  public String getId() {
    return id;
  }

  public void setId(String id) {
    this.id = id;
  }

  public String getEmail() {
    return email;
  }

  public void setEmail(String email) {
    this.email = email;
  }

  public String getPasswordHash() {
    return passwordHash;
  }

  public void setPasswordHash(String passwordHash) {
    this.passwordHash = passwordHash;
  }

  public Boolean getPreRegistration() {
    return preRegistration;
  }

  public void setPreRegistration(Boolean preRegistration) {
    this.preRegistration = preRegistration;
  }

}
